package cn.group01.git.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@ExcelTarget("goodsImport")
public class GoodsImport {

  @Excel(name = "序号")
  private long id;
  @Excel(name = "供应商")
  private String supName;
  @Excel(name = "商品名称")
  private String goodsName;
  @Excel(name = "支付类型")
  private String payType;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  @Excel(name = "入库时间")
  private Date importTime;
  @Excel(name = "操作员")
  private String operator;
  @Excel(name = "入库数量")
  private Integer number;
  @Excel(name = "规格")
  private String specs;
  @Excel(name = "入库价格")
  private long price;

}
